package com.xc.ezplan.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import com.xc.ezplan.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author lixingchen
 * @date 2022/12/03
 * @description 阿里云配置表
 */
@TableName(value ="admin_ali_config")
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "七牛云配置实体")
public class AdminAliConfig extends BaseEntity {
    /**
     * 阿里云存储ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 桶名
     */
    private String bucket;

    /**
     * 端点
     */
    private String endpoint;

    /**
     * accessKey ID
     */
    private String accessKeyId;

    /**
     * accessKey 秘钥
     */
    private String accessKeySecret;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}